﻿using System;
using Newtonsoft.Json;
using Sustainalytics.DataLayer.Shared;
using Sustainalytics.Entities;
using Sustainalytics.Portfolios.BL.Exceptions;
using Sustainalytics.Portfolios.BL.Validators;
using Sustainalytics.Replication.Publisher;
using Sustainalytics.Utils;
using System.Collections.Generic;

namespace Sustainalytics.Portfolios.BL
{

    public class PortfolioMongoCollections
    {
        public IRepositoryCollection<Portfolio> PortfolioCollection { get; set; }

        public IRepositoryCollection<PortfolioDetails> PortfolioDetailsCollection { get; set; }

        public IRepositoryCollection<PortfolioUserInput> PortfolioUserInputCollection { get; set; }

        public PortfolioMongoCollections(IRepositoryCollection<Portfolio> portfolioRepository,
            IRepositoryCollection<PortfolioDetails> portfolioDetailsRepository,
            IRepositoryCollection<PortfolioUserInput> portfolioUserInputRepository)
        {
            PortfolioCollection = portfolioRepository;
            PortfolioDetailsCollection = portfolioDetailsRepository;
            PortfolioUserInputCollection = portfolioUserInputRepository;
        }

    }
}
